﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="xem_ls_dangnhap.ascx.cs" Inherits="TDT_Project.Controller.xem_ls_dangnhap" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../css/Telerik.css" rel="stylesheet" type="text/css" />
    <%--<link rel="stylesheet" type="text/css" href="../css/style.css">--%>
</head>

<asp:UpdatePanel ID="Up1" runat="server">
   <ContentTemplate>
<style type="text/css">
    .style3
    {
        color:Blue;
        
    }
     .rgAltRow td
            {
                border: 1px solid #96CAFF !important;
            }
            .gridTelerikChuan .rgSelectedRow
            {
                background: #999 !important;
                color: #fff;
            }
            .gridTelerikChuan .rgSelectedRow input[type="text"].riDisabled
            {
                color: #fff;
            }
            .gridTelerikChuan .rgSelectedRow td
            {
                background: #999 !important;
            }
            .gridWiewHeader
            {
                background-color: #2D79F8 !important;
                padding: 0 !important;
            }
            .rgHeader gridWiewHeader
            {
                padding: 0 !important;
            }
</style>
<p></p>
   <h4 class="style3">Lịch sử đăng nhập</h4>
   <hr  style="border:1px thin"/>
   
<div style="padding-left:200px;padding-top:20px;" >

    <table cellpadding="5" cellspacing="5" class="style2">
        <tr>
            <td class="style5">
                <strong>Niên học</strong></td>
            <td class="style8">               
                
                        <telerik:RadComboBox ID="cbo_nienhoc" runat="server" DropDownWidth="200px" 
                            Skin="Vista" Width="200px" 
                            OnSelectedIndexChanged="cbo_nienhoc_SelectedIndexChanged" 
                            AutoPostBack="True" >
                        </telerik:RadComboBox>
                </td>
            <td style="text-align: right;padding-right:3px;">
                <strong>Học kỳ</strong></td>
            <td class="style7">
            
                <asp:RadioButtonList ID="rdo_HK" runat="server" AutoPostBack="true"
                    RepeatDirection="Horizontal" 
                   >
                    <asp:ListItem Selected="True">HK1</asp:ListItem>
                    <asp:ListItem>HK2</asp:ListItem>
                </asp:RadioButtonList>
                </td>
        </tr>
        <tr>
            <td class="style4">
                <strong>Ngày đăng nhập</strong></td>
            <td class="style9">               
               <%-- <telerik:RadComboBox ID="cbo_lop" runat="server" 
                    DropDownWidth="200px" Skin="Vista" Width="200px" 
                    OnSelectedIndexChanged="cbo_lop_SelectedIndexChanged" AutoPostBack="true">
                </telerik:RadComboBox>   --%>          
                <telerik:RadDatePicker ID="RadDatePicker1" Runat="server" Width="200px" CssClass="RadDateInput" DateInput-DisplayDateFormat="dd/MM/yyyy"
                 onselecteddatechanged="RadDatePicker1_SelectedDateChanged" AutoPostBack="true">
                </telerik:RadDatePicker>
            </td>
            <td style="text-align:right;padding-right:3px;">
              <%--  <strong>Học sinh</strong>--%></td>
            <td class="style3">
           
              <%--  <telerik:RadComboBox ID="cbo_hocsinh" runat="server" 
                    DropDownWidth="200px" Skin="Vista" Width="200px" AutoPostBack="true">
                </telerik:RadComboBox>--%>
            </td>
        </tr>
    </table>

</div>
<div style="padding:20px;">
    <table style="width: 900px" >
    <tr>
    <%--<td  style="padding-top:5px" align="right">
                           <telerik:RadButton runat="server" ValidationGroup="p" ID="btn_gopy_PH" CssClass="RadButton"
                            ButtonType="ToggleButton" HoveredCssClass="RadButtonHover" AutoPostBack="true"
                           Text="Tìm" Skin="Telerik" Width="105px" Height="30px" onclick="btn_gopy_PH_Click" Visible="false"
                            >
                        </telerik:RadButton>
                    </td>--%>
                     <td  style="padding-top:5px;width:420px;text-align:right;">
                           <telerik:RadButton runat="server" ValidationGroup="p" ID="btn_xoa" CssClass="RadButton"
                            ButtonType="ToggleButton" HoveredCssClass="RadButtonHover" AutoPostBack="true"
                           Text="Xóa" Skin="Telerik" Width="105px" Height="30px" onclick="btn_xoa_Click" 
                            >
                        </telerik:RadButton>
                    </td>
         <td  style="text-align:left;padding-top:5px">
                           <telerik:RadButton runat="server" ValidationGroup="p" ID="btn_xuat" CssClass="RadButton"
                            ButtonType="ToggleButton" HoveredCssClass="RadButtonHover" 
                           Text="Xuất Excel" Skin="Telerik" Width="105px" Height="30px" onclick="btn_xuat_Click" 
                            >
                        </telerik:RadButton>
                    </td>           
                    
                    </tr>
                    <tr>
                    <td colspan="2" align="center" style="padding:10px;">
                     <telerik:RadGrid ID="gv_LS"  CssClass="gridView gridTelerikChuan" runat="server" CheckBoxes="true" AutoGenerateColumns="False" CellSpacing="0"
                                        GridLines="None" Width="900px"  AllowMultiRowSelection="True" 
                            TabIndex="5">
                             <HeaderStyle CssClass="gridWiewHeader" />
                               <ClientSettings>
                                <Selecting AllowRowSelect="false" />
                                <Scrolling AllowScroll="True" ScrollHeight="300" UseStaticHeaders="True" SaveScrollPosition="True"  />
                            </ClientSettings>
                                        <MasterTableView  DataKeyNames="ID" NoMasterRecordsText="Không tìm thấy dữ liệu">
                                            <%--<CommandItemSettings ExportToPdfText="Export to PDF" />
                                            <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                                            </RowIndicatorColumn>
                                            <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                                            </ExpandCollapseColumn>--%>
                                            <Columns>
                                            
                                                <telerik:GridBoundColumn DataField="STT" FilterControlAltText="Filter ShiftCode column"
                                                    HeaderText="STT" UniqueName="STT">
                                                     <HeaderStyle Width="30px" />
                                                      </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn DataField="ID" Display="False" FilterControlAltText="Filter ShiftCode column"
                                                    HeaderText="STT" UniqueName="ID" Visible="false"/>
                                                <telerik:GridBoundColumn FilterControlAltText="Filter TemplateColumn column" DataField="TenHS"
                                                    HeaderText="Họ tên học sinh" UniqueName="TenHS">
                                                    <HeaderStyle Width="150px" />
                                                </telerik:GridBoundColumn>
                                                 <telerik:GridBoundColumn FilterControlAltText="Filter TemplateColumn column" DataField="TenLop"
                                                    HeaderText="Lớp" UniqueName="TenLop">
                                                    <HeaderStyle Width="40px" />
                                                </telerik:GridBoundColumn>
                                                <telerik:GridBoundColumn FilterControlAltText="Filter TemplateColumn column" DataField="SDT_OUT"
                                                    HeaderText="Số điện thoại cập nhật" UniqueName="SDT_OUT">
                                                    <HeaderStyle Width="130px" />
                                                </telerik:GridBoundColumn>
                                                  <telerik:GridBoundColumn FilterControlAltText="Filter TemplateColumn column" DataField="SDT"
                                                    HeaderText="Số điện thoại dữ liệu" UniqueName="SDT">
                                                    <HeaderStyle Width="110px" />
                                                </telerik:GridBoundColumn>
                                                 <telerik:GridBoundColumn FilterControlAltText="Filter TemplateColumn column" DataField="KQ"
                                                    HeaderText="Kết quả so sánh" UniqueName="KQ">
                                                    <HeaderStyle Width="100px" />
                                                </telerik:GridBoundColumn>
                                                 <telerik:GridBoundColumn DataField="Ngay" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center"
                            HeaderText="Thời gian cập nhật" UniqueName="Ngay" ReadOnly="True" HeaderStyle-Width="150px">
                            <ItemStyle HorizontalAlign="Left" />

                        </telerik:GridBoundColumn>
                        <telerik:GridClientSelectColumn FilterControlAltText="Filter column1 column" UniqueName="checkbox"
                                                    HeaderText="Chọn">
                                                    <HeaderStyle HorizontalAlign="Center" Width="50px" />
                                                    <ItemStyle HorizontalAlign="Center" />
                                                </telerik:GridClientSelectColumn>
                                            </Columns>
                                            <EditFormSettings>
                                                <EditColumn FilterControlAltText="Filter EditCommandColumn column" />
                                            </EditFormSettings>
                                        </MasterTableView>
                                        <ClientSettings>
                                            <Selecting AllowRowSelect="true" />
                                            <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True" />
                                        </ClientSettings>
                                        <FilterMenu EnableImageSprites="False" />
                                        <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Telerik" />
                                    </telerik:RadGrid>

                    </td>
                    </tr>
                    </table>
   </div>
   </ContentTemplate>
    <Triggers>
        <asp:PostBackTrigger ControlID="btn_xuat" />
    </Triggers>
   </asp:UpdatePanel>

